https://courses.physics.illinois.edu/phys401/sp2025/secure/Lectures/Lecture ErrorNoise_Sp2025.pdf